package com.yuntianshi.service;

import com.yuntianshi.common.PageResult;
import com.yuntianshi.pojo.Member;

import java.util.List;

/**
 * 会员服务接口
 */
public interface MemberService {
    public void add(Member member);
    public Member findByTelephone(String telephone);
    public List<Integer> findMemberCountByMonth(List<String> month);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void delete(Integer id);

    public Member findById(Integer id);

    public void edit(Member member);
}
